﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WSServer
{
    public enum WSResponseType
    {
        kWSResponseTypeDidSocketRegistered,
        kWSResponseTypeDidTokenExpired,
        kWSResponseTypeDidTokenRefreshed,
        kWSResponseTypeMessage
    }
    public class WSResponse
    {
        public string identifier { get; set; }
        public WSAccessToken token { get; set; }
        public WSResponseType type { get; set; }
        public object userinfo { get; set; }
    }
}
